<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2019-06-13
  Time: 15:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@include file="../../publs.jsp"%>
<%
    String pash = request.getContextPath();
    String basepash = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + pash + "/";
%>
<html>
<head>
    <base href="<%=basepash%>">
    <meta charset="UTF-8">
    <title>医药管理</title>
    <link rel="shortcut icon" href="static/images/1.png" type="image/x-icon"/>
    <link rel="stylesheet" href="static/css/font.css">
    <link rel="stylesheet" href="static/css/login.css">
    <link rel="stylesheet" href="static/css/xadmin.css">
    <script src="static/lib/layui/layui.js" charset="utf-8"></script>
</head>
<body class="login-bg">

<div class="login layui-anim layui-anim-up">
    <div class="message">医药系统</div>
    <div id="darkbannerwrap"></div>

    <form action="/login.do" method="post">
        <div id="root">
            <c:if test="${not empty loginErr}">
                <alert type="error" show-icon>${loginErr}</alert>
            </c:if>
        </div>
        <input placeholder="用户名" name="user"  type="text">
        <input type="password" style="margin-top: 15px" name="pwd" placeholder="密码">
        <input value="登录" style="width:100%;margin-top: 20px" type="submit">
    </form>
</div>
<script>
    new Vue({
        el:"#root",
        data:{}
    })
</script>
</body>
</html>
